<template>
	<view class="activityDetails">
		<view class="list-box" :style="index+1 == list.length ? 'border-bottom: 0;' : ''"
		 v-for="(item,index) in list" :key="index" @click="jump('record_details', item.id)">
			<view class="list-left"> {{item.title}} </view>
			<view class="list-right"> {{item.num}}个 </view>
		</view>
		
		
	</view>
</template>

<script>
	import serve from '../static/request.js';
	import storage from '../static/appkey.js';
	import common from '../static/jump.js';
	export default {
		data() {
			return {
				list: [
					{id: 1,title: '店员',num: 20},
					{id: 2,title: '店员',num: 30},
					{id: 3,title: '店员',num: 10},
					{id: 3,title: '店员',num: 10},
					{id: 3,title: '店员',num: 10},
					{id: 3,title: '店员',num: 10}
				]
				
			}
		},
		methods: {

			jump(jump_type, jump_link) {
				common.jump(jump_type, jump_link)
			}
		},
		onLoad(options) {
			
		},
		onShow() {
			
		},
		onPullDownRefresh() {
			
		},
	}
</script>

<style scoped>
	.activityDetails {
		padding: 36rpx;
		padding-bottom: 200rpx;
		font-size: 32rpx;
		color: #1e2022;
	}
	.list-box{
		border-bottom: 2rpx solid #ededed;
		display: flex;
		justify-content: center;
		padding: 20rpx 0;
		height: 80rpx;
		justify-content: space-between;
		align-items: center;
	}
	.list-left{
		
	}
	.list-right{
		color: #dd6161;
	}

	
</style>
